﻿using System.Text.Json.Serialization;

namespace TyMES.Communication.Request
{
    public class GetChildLineRequest:FactoryAPIBase.BaseRequest
    {
        [JsonPropertyName("material_code")]
        public string MaterialCode { get; set; }

        [JsonPropertyName("material_version")]
        public string MaterialVersion { get; set; }
        
        public GetChildLineRequest(string materialCode, string materialVersion)
        {
            MaterialCode = materialCode;
            MaterialVersion = materialVersion;
            ServiceId = "CustomConfig_Material";
        }
    }
}
